import org.apache.commons.lang3.StringUtils;

public class StringJudeg {
    public static void main(String[] args) {
      String s="";
      if(s!=null&&!"".equals(s)){
          System.out.println("字符串不为空");
          System.out.println(s.length());
      }else {
          System.out.println("字符串为空");

      }
      if(StringUtils.isEmpty(s)){
          System.out.println("用工具类字符串为空");
      }
    }
}
